﻿using AntdUI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Super.Admin.Utils
{
    public static class TableHelper
    {
        public static List<CellButton> CopyCellButton(List<CellButton> cells)
        {
            List<CellButton> cellButtons = new List<CellButton>();
            foreach (CellButton cellButton in cells)
            {
                cellButtons.Add(new CellButton(cellButton.Id, cellButton.Text, cellButton.Type));
            }
            return cellButtons;
        }
    }
}
